package org.jeecg.modules.health.admin.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 基础数据表
 * @Author: jeecg-boot
 * @Date:   2020-04-08
 * @Version: V1.0
 */
@Data
@TableName("healthvalue")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="healthvalue对象", description="基础数据表")
public class Healthvalue {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**性别*/
	@Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
	private Integer sex;
	/**年龄开始范围*/
	@Excel(name = "年龄开始范围", width = 15)
    @ApiModelProperty(value = "年龄开始范围")
	private String ageRangeBegin;
	/**数值结束范围*/
	@Excel(name = "数值结束范围", width = 15)
    @ApiModelProperty(value = "数值结束范围")
	private String healthRangeEnd;
	/**健康描述*/
	@Excel(name = "健康描述", width = 15)
    @ApiModelProperty(value = "健康描述")
	private String expression;
	/**当前健康建议*/
	@Excel(name = "当前健康建议", width = 15)
    @ApiModelProperty(value = "当前健康建议")
	private String advice;
	/**flag(0:心跳，1:体温)*/
	@Excel(name = "flag(0:心跳，1:体温)", width = 15)
    @ApiModelProperty(value = "flag(0:心跳，1:体温)")
	private String flag;
	/**起始范围*/
	@Excel(name = "起始范围", width = 15)
    @ApiModelProperty(value = "起始范围")
	private String healthRangeBegin;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/**年龄结束范围*/
	@Excel(name = "年龄结束范围", width = 15)
    @ApiModelProperty(value = "年龄结束范围")
	private String ageRangeEnd;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
}
